/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.zjdt.epserver.db.dao;

import java.util.Map;

/**
 * 对司机来说的一趟运输
 * @author dusin
 */
public interface TripDao {
     public boolean doCreate(String driverID,String plateNo,String arrivalTime,String factoryCode);
     public boolean stop(int id ,String stopTime);
     public boolean setStatus(String id, int status);
     public boolean doDeleteById(int id);
     public Map<String,Object> findLatestLocation(int driverId);     
}
